package com.ocp.socket.busi.warnItem.mapper;

import com.ocp.socket.busi.warnItem.bean.BaseWarnItem;
import com.ocp.socket.busi.warnMsg.bean.BaseWarnMsg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author : zhangzh
 * @description :
 * @Date Create in 13:28 2019/3/9
 * @Modified By :
 **/
@Mapper
public interface BaseWarnItemMapper {

    /***
     * 根据奶厅ID 查询已配置的报警项
     * @param milkHallId
     * @return
     */
    List<BaseWarnItem> getBaseWarnItemListByMilkHallId(@Param("milkHallId") Integer milkHallId);

    /**
     * 根据奶厅ids查询已经配置的报警项
     * @param hallIds
     * @return
     */
    List<BaseWarnItem> getBaseWarnItemListByHallIds(@Param("hallIds")List<Integer> hallIds);
}
